﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="Header.ascx.cs" Inherits="Controls_Header" %>
<%@ Register Src="~/Controls/Connect.ascx" TagName="Connect" TagPrefix="uc1" %>

<div class="bg_body row_1">
    <div class="container_24 ofh" id=bodyWrapper>
        <div class=grid_24 id=header>
            <div class=cl_both>
                <asp:HyperLink ID="HyperLink1" runat="server"><asp:Image ID="ImageLogo" runat="server" ImageUrl="~/images/logo.png" width="417"  height="47" /></asp:HyperLink>
                <div class="fl_right navigation_block" align=right>
                    <div class="cl_both ofh">
                        <div class="cart_bg fl_right">
                            <div><B>Giỏ hàng</B> Hiện tại giỏ hàng của bạn có &nbsp;<a href=""><strong>0</strong> SP</a> 
                            </div>
                        </div>
                     </div>
                    <div class="cl_both ofh">
                        <div class="currencies fl_right">
                        <% if (Session["User_ID"] == null)
                           { %>
                            <a href="Login.aspx">Login</a>
                            <% }else{ %>
                            <a href="Logout.aspx">Logout</a>
                            <%} %>
                       </div>
                     
                     </div>
                </div>
            </div>
        </div>
    </div>
</div>


<div class="bg_body row_2">
    <div class="container_24 ofh" id=bodyWrapper>
        <div class=grid_24>
            <ul class="menu fl_left">
                <li class="menu_item un selected"   onclick="document.location=''">
                    <div class=menu-l>
                        <div class=menu-r>
                            <div class=menu-c><a href="/DoAnWeb/Default.aspx">Trang Chủ</a></div>
                        </div>
                    </div>
                </li>
                <li class="menu_item "  onclick="document.location=''">
                    <div class=menu-l>
                        <div class=menu-r>
                            <div class=menu-c><a>Tin Tức</a></div>
                         </div>
                     </div>
                 </li>
                  <% if (Session["User_ID"] != null)
                     { %>
                <li class="menu_item " onclick="document.location=''">
                    <div class=menu-l>
                        <div class=menu-r>
                            <div class=menu-c><a href="Basket.aspx">Giỏ Hàng</a></div>
                        </div>
                    </div>
                </li>
                <% } %>
                 <% if (Session["User_ID"] == null)
                    { %>
                <li class="menu_item " onclick="document.location=''">
                    <div class=menu-l>
                        <div class=menu-r>
                            <div class=menu-c><a href="/DoAnWeb/Register.aspx">Đăng ký</a></div>
                        </div>
                     </div>
                </li>
                <% } %>
                <li class="menu_item " onclick="document.location=''">
                    <div class=menu-l>
                        <div class=menu-r>
                            <div class=menu-c><a>Liên hệ ( <uc1:Connect ID="connectID" runat="server" /> )</a></div>
                        </div>
                     </div>
                </li>
            </ul>
            <div class="search fl_right ofh">
                <form name=search action='' method=get>
                    <label class=fl_left>Search: </label>
                    <asp:Image CssClass="button_search_prod fl_right" ID="ImageSearch" runat="server" ImageUrl="~/images/button_quick_find.gif" />
                    
                    <div class="input-width fl_right">
                        <div class=width-setter>
                            <input class=go onblur="if(this.value=='') this.value='Enter keywords here'" onfocus="if(this.value =='Enter keywords here' ) this.value=''" value="Enter keywords here" name=keywords> 
                        </div>
                    </div>
                </form>
            </div>
        </div>
    </div>
</div>